package com.imast.android.bys.ui.fragment;

import com.imast.android.bys.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class CategoriaFragment extends Fragment {
	
	public static final String ARG_TITLE = "title";
	
	private CategoriaHelper helper;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		View rootView = inflater.inflate(R.layout.fragment_categoria, container, false);
		
		helper = new CategoriaHelper(getActivity(), rootView);
		
		helper.txtCategoria.setText(getArguments().getString(ARG_TITLE));
		
		return rootView;
	}

}
